# CMake 最低版本号要求
cmake_minimum_required (VERSION 2.8)
# 指定 C++ 标准
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)

# 项目信息
project(hello VERSION 1.0)
set (Demo_VERSION_MAJOR 1)
set (Demo_VERSION_MINOR 0)

#
configure_file(config.h.in config.h)

SET(SRC_LIST hello.cpp)

# 指定生成目标
add_executable(${PROJECT_NAME} ${SRC_LIST})
